
#include "defines.h"
#include "sample/sample.h"

class CSetting {
public:
	CSetting(){
		MyPrint("init setting");
		SDL_putenv("SDL_STDIO_REDIRECT=0");
	}
};

CSetting oSetting;
SDL_Surface* pScreen = NULL;
CSample* pSample = NULL;

int main(int argc, char *argv[])
{
//	CSample oSample(500,500);
	glutInit(&argc,argv);
	pSample = new CSp007(500,500);
	pSample->InitSDL();
	pSample->InitOpenGL();
	pSample->MainLoop();
	delete pSample;
	pSample = NULL;
	return 0;
}

